#ifndef RECOGNITIONVIEW_H
#define RECOGNITIONVIEW_H

#include <QFrame>
#include "abstractview.h"
#include "imagewidget.h"

namespace views {
    class RecognitionView: public AbstractView
    {
    public:
        RecognitionView();
        RecognitionView(const QString& name);
        virtual         ~RecognitionView();
        virtual void    initUI();
        virtual void    setupUI();
        void            setFrame(QImage& image);
        void            setFrame2(QImage& image);
        QSize           getFrameSize() const;
        virtual void    setViewName(const QString& name);
        void            saveSnapshot(QImage& image);

    private:
        QFrame          *_mainGBox;
        QFrame          *_imageRawArea;
        QFrame          *_imageProcessArea;
        ImageWidget     *_imageRawWidget,       // Will display the raw image from the camera
                        *_imageProcessWidget;   // Will display a processed image if necessary

    };
}
#endif // RECOGNITIONVIEW_H
